package cc.lucien.web.dao;

import cc.lucien.web.entity.Admin;

import java.util.List;
import java.util.Map;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin getAdminByUsernameAndPassword(Map<String, Object> param);

    List<Admin> selectAllAdmins();
}